package com.dwxt.cdms.dao;

import com.dwxt.cdms.entity.LbWatch;
import com.dwxt.cdms.entity.LbWatchExample;
import com.dwxt.cdms.entity.laibang.LbWatchVO2;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LbWatchMapper {
    int countByExample(LbWatchExample example);

    int deleteByExample(LbWatchExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LbWatch record);

    int insertSelective(LbWatch record);

    List<LbWatch> selectByExample(LbWatchExample example);

    LbWatch selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LbWatch record, @Param("example") LbWatchExample example);

    int updateByExample(@Param("record") LbWatch record, @Param("example") LbWatchExample example);

    int updateByPrimaryKeySelective(LbWatch record);

    int updateByPrimaryKey(LbWatch record);

    List<LbWatchVO2> selectGroup(@Param("name")String name, @Param("stationId") Integer stationId);
}